package com.expert.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.expert.dto.SupplementaryDTO;
import com.expert.pojo.ExpertScore;
import com.expert.pojo.ExtractResult;
import com.expert.vo.ExtractResultCheckVo;

import java.util.List;

/**
 * @ClassName: ExtractResultService
 * @Author: cxs
 * @Date: 2024/03/26 15:38
 * @Description:
 **/

public interface ExtractResultService extends IService<ExtractResult> {
    /**
     * 查询一年超过十次的情况
     * @param expertList
     * @return
     */
    List<Long> queryExtractedOver(List<Long> expertList);

    /**
     * 验证抽取结果
     * @param id
     * @return
     */
    List<ExtractResultCheckVo> getExtractResultCheck(Long id);

    /**
     * 重新抽取专家信息
     * @param id 项目id
     */
    void reExtract(Long id);

    /**
     * 取消抽取专家信息
     * @param id 项目id
     */
    void cancelExtractResult(Long id);

    /**
     * 补抽专家信息
     * @param id
     * @return
     */
    boolean checkIsSupplementary(Long id);

    /**
     * 补抽专家
     * @param supplementaryDTO
     */
    void supplementary(SupplementaryDTO supplementaryDTO);

    /**
     * 催促专家
     * @param project
     * @param id
     */
    void urged(Long project, Long id);

    /**
     * 评价专家
     */
    void scoreExpert(ExpertScore expertScore);
}
